package com.hoyue.classroom.service.impl;

import com.hoyue.classroom.bean.Score;
import com.hoyue.classroom.dao.ScoreMapper;
import com.hoyue.classroom.service.ScoreService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
 * @author 空白
 * @version 1.0
 * Create by 2019/09/05 10:01
 */
@Service
public class ScoreServiceImpl implements ScoreService {

    @Resource
    ScoreMapper scoreMapper;

    @Override
    public List<Score> getScore(Integer userId, Integer courseId) {
        return scoreMapper.getScore(userId, courseId);
    }
}
